<template>
  <div class="m-sys">
    <div class="g-sidebar">
      <el-menu :default-active="'/admin/mainstay/home'" class="el-menu-vertical-demo" unique-opened router>
        <el-menu-item index="/admin/mainstay/home" class="posit">首页</el-menu-item>
         <el-menu-item index="/admin/mainstay/weddingCase" class="posit">婚礼案例管理</el-menu-item>
          <el-menu-item index="/admin/mainstay/caseAdmin" class="posit">旅拍管理</el-menu-item>
         <el-menu-item index="/admin/mainstay/childrenCase" class="posit">儿童案例管理</el-menu-item>
        <el-menu-item index="/admin/mainstay/hotelAdmin" class="posit">酒店管理</el-menu-item>
        <el-menu-item index="/admin/mainstay/order" class="posit">预约管理</el-menu-item>
        <el-menu-item index="/admin/mainstay/company" class="posit">公司资料</el-menu-item>
        <el-menu-item index="/admin/mainstay/client" class="posit">客户管理</el-menu-item>
         <el-menu-item index="/admin/mainstay/selectImg" class="posit">图片管理</el-menu-item>
      </el-menu>
    </div>
    <div class="g-content">
      <router-view></router-view>
    </div>
  </div>
</template>

<script>
  export default {
    data() {
      return {

      }
    },
    methods: {

    },
    created() {

    }
  }
</script>

<style lang="less" scoped>

  .posit{
    margin-top: 2%;
    text-align: center;
  }
  .g-content {
    background: none repeat scroll 0 0 #fff;
    position: absolute;
    left: 220px;
    right: 0;
    top: 60px;
    bottom: 0;
    width: auto;
    padding: 20px;
    box-sizing: border-box;
    overflow-y: scroll;
    background-color: #f2f4f6;
  }
</style>
